package com.wyd.command.receiver;

/**
 * 灯
 * 各类接受者的方法均各异
 * @author Yudi Wang
 * @date 2022/1/27 16:08
 */
public class Light {
    public void on(){
        System.out.println("turn on the light");
    }
    public void off(){
        System.out.println("turn off the light");
    }
}
